package com.ruoyi.common.core.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 cinema_movie
 * 
 * @author ruoyi
 * @date 2021-01-16
 */
public class CinemaMovie extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 电影名称 */
    @Excel(name = "电影名称")
    private String movieName;

    /** 电影类型 */
    @Excel(name = "电影类型")
    private Integer movieType;

    /** 电影时长 */
    @Excel(name = "电影时长")
    private Integer duration;

    /** 封面地址 */
    @Excel(name = "封面地址")
    private String cover;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMovieName(String movieName) 
    {
        this.movieName = movieName;
    }

    public String getMovieName() 
    {
        return movieName;
    }
    public void setMovieType(Integer movieType) 
    {
        this.movieType = movieType;
    }

    public Integer getMovieType() 
    {
        return movieType;
    }
    public void setDuration(Integer duration) 
    {
        this.duration = duration;
    }

    public Integer getDuration() 
    {
        return duration;
    }
    public void setCover(String cover) 
    {
        this.cover = cover;
    }

    public String getCover() 
    {
        return cover;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("movieName", getMovieName())
            .append("movieType", getMovieType())
            .append("duration", getDuration())
            .append("cover", getCover())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
